<template>
  <div class="cart">
      <div>购物车</div>
      <cart-item></cart-item>
  </div>
</template>

<script>
import CartItem from '@/components/CartItem.vue' ;
export default {
    name: 'Cart' ,
    components: {
        'cart-item': CartItem
    }
}
</script>

<style scoped>
.cart {
    margin: 5px ;
    border: 1px solid #dedede ;
}
.cart>div:first-child {
    color: blue;
}
</style>